package com.yztl.mapper.admin;

import com.yztl.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminMapper {
    Admin AdminLogin(@Param("admin_name") String admin_name,
                     @Param("admin_userpassword") String admin_userpassword);
    List<Client> getPageClient(@Param("pageIndex") int pageIndex,
                               @Param("pagesize")int pagesize,
                               @Param("customer_adminid") int customer_adminid);
    int getCount(int id);

    int deleteOrder(@Param("id")int id,@Param("state") int order_state);

    Client selOne(int orderId);

    int updClient(Client client);

    int updOrder(Order order);

    int addClient(Client client);

    List<Status>getStatus();

    List<Product> getProduct();





}
